package Third;

import java.util.concurrent.Callable;

/**
 * @author 长风无言
 */
public class CopyThread implements Callable<Object> {

    private String newPath;
    private String oldPath;

    public void setNewPath(String newPath) {
        this.newPath = newPath;
    }

    public void setOldPath(String oldPath) {
        this.oldPath = oldPath;
    }

    @Override
    public Object call() {
        CopyFolder.copyFolder(oldPath,newPath);
        return null;
    }

}
